package hhq.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import hhq.demo.pojo.Room;

@Mapper
public interface RandomMapper {

    public void insertRoom(Room room);
    public void updateRoom(Room room);
    public List<Room> getAllRooms();
    public Room getOneRoom(int roomid);
    public Room getOneRoomByName(String name);

}
